home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmCreateErrorDialog.z / XmCreateErrorDialog
Encoding:
Text File  |  2003-11-18  |  2.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeEEEErrrrrrrroooorrrrDDDDiiiiaaaalllloooogggg((((3333XXXX))))   UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV   XXXXmmmmCCCCrrrreeeeaaaatttteeeeEEEErrrrrrrroooorrrrDDDDiiiiaaaalllloooogggg((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_C_r_e_a_t_e_E_r_r_o_r_D_i_a_l_o_g -    The MessageBox ErrorDialog convenience
  10.       creation function
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/MessageB.h>
  14.  
  15.       Widget XmCreateErrorDialog (ppppaaaarrrreeeennnntttt,,,, nnnnaaaammmmeeee,,,, aaaarrrrgggglllliiiisssstttt,,,, aaaarrrrggggccccoooouuuunnnntttt)
  16.            _W_i_d_g_e_t     ppppaaaarrrreeeennnntttt;
  17.            _S_t_r_i_n_g     nnnnaaaammmmeeee;
  18.            _A_r_g_L_i_s_t     aaaarrrrgggglllliiiisssstttt;
  19.            _C_a_r_d_i_n_a_l     aaaarrrrggggccccoooouuuunnnntttt;
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.       _X_m_C_r_e_a_t_e_E_r_r_o_r_D_i_a_l_o_g is a convenience creation    function that
  23.       creates a DialogShell    and an unmanaged MessageBox child of
  24.       the DialogShell.  An ErrorDialog warns the user of an
  25.       invalid or potentially dangerous condition.  It includes a
  26.       symbol, a message, and three buttons.     The default symbol is
  27.       an octagon with a diagonal slash.  The default button    labels
  28.       are _O_K, _C_a_n_c_e_l, and _H_e_l_p.
  29.  
  30.       Use _X_t_M_a_n_a_g_e_C_h_i_l_d to pop up the ErrorDialog (passing the
  31.       MessageBox as    the widget parameter); use _X_t_U_n_m_a_n_a_g_e_C_h_i_l_d to
  32.       pop it down.
  33.  
  34.       ppppaaaarrrreeeennnntttt
  35.            Specifies the parent widget ID
  36.  
  37.       nnnnaaaammmmeeee Specifies the name of the created widget
  38.  
  39.       aaaarrrrgggglllliiiisssstttt
  40.            Specifies the argument list
  41.  
  42.       aaaarrrrggggccccoooouuuunnnntttt
  43.            Specifies the number of attribute/value pairs in    the
  44.            argument    list (aaaarrrrgggglllliiiisssstttt)
  45.  
  46.       For a    complete definition of MessageBox and its associated
  47.       resources, see _X_m_M_e_s_s_a_g_e_B_o_x(_3_X).
  48.  
  49.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  50.       Returns the MessageBox widget    ID.
  51.  
  52.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  53.       _X_m_M_e_s_s_a_g_e_B_o_x(_3_X).
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.